 <?php
 /*
	[Office 515158] (C) 2009-2012 天生创想 Inc.
	$Id: smsapi.php 1209087 2012-01-08 08:58:28Z baiwei.jiang $
*/
define('IN_ADMIN',True);
require_once('../include/common.php');
get_login($_USER->id);
//天生创想增值服务平台
if($_GET["sms"]='add'){
	$phone_channel = array(
		'company' => "天生创想增值服务平台",
		'price' => "0.1",
		'content' => "短信发送成功率98%，发送速度即时发送!",
		'connection' => "0#515158#http://service.winic.org/webservice/public/remoney.asp?uid=#01&pwd=#01#515158#http://service.winic.org/sys_port/gateway/?id=#01&pwd=#01&to=#01&content=#01&encode=#01&time=#01#515158#http://service.winic.org/sys_port/Gateway/mo2.asp?id=#01&pwd=#01",
		'remainsum' => "0",
		'type' => "3",
		'connectionid' => "1",
		'pkey' => "1",
		'date' => get_date('Y-m-d H:i:s',PHP_TIME)
	);
	update_db('phone_channel',$phone_channel, array('id' =>'1'));
}

?> 
